<div class="user-box clearfix {neq name="action" value="index"} hidden-xs{/neq}"> 
{visitors var="visitors_list" uid="'.$userinfo['user_id'].'" limit="8" order="visitors_addtime desc"}{/visitors}
{notempty name="visitors_list"}
<div class="user-center-title pt-0"><h2 class="text-color">最近访客</h2></div>        
<ul class="box-star-list clearfix" >
{volist name="visitors_list" id="zanpian"}
<li class="col-md-4 col-sm-4 col-xs-3"><a class="star-pic img-circle"  style="background: url({:zanpian_avatar_url($zanpian)}) no-repeat top center;padding-top:100%;background-position:50% 50%;background-size:cover;" href="{:zanpian_user_url('user/home/index',$zanpian)}"><span class="text-overflow">{$zanpian.user_nickname}</span></a>
</li>
{/volist}
</ul>
</div>
{else /} 
<div class="user-center-title pt-0 hidden-xs"><h2 class="text-color">最近用户</h2></div>      
<ul class="box-star-list clearfix" >
{user limit="9"}  
<li class="col-md-4 col-sm-4 col-xs-3"><a class="star-pic img-circle"  style="background: url({:zanpian_avatar_url($zanpian)}) no-repeat top center;padding-top:100%;background-position:50% 50%;background-size:cover;" href="{:zanpian_user_url('user/home/index',$zanpian)}"><span class="text-overflow">{$zanpian.user_nickname}</span></a>
</li>
{/user}
</ul>
</div>
{/notempty}
{star var="star_hits" limit="12" order="star_hits desc"}{/star}
{notempty name="star_hits"}
<div class="user-box clearfix mt20 {neq name="action" value="index"} hidden-xs{/neq}"> 
<div class="user-center-title pt-0"><h2 class="text-color">热门明星</h2></div>        
<ul class="box-star-list clearfix" >
{volist name="star_hits" id="zanpian"}
<li class="col-md-4 col-sm-4 col-xs-3"><a class="star-pic img-circle" style="background: url({$zanpian.star_pic|zanpian_img_url}) no-repeat top center;padding-top:100%;background-position:50% 50%;background-size:cover;"  href="{:zanpian_read_url('home/star/read',$zanpian)}"><span class="text-overflow">{$zanpian.star_name}</span></a>
</li>
{/volist}
</ul>
</div>
{/notempty}